﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="LoginThanhVien.ascx.vb" Inherits="FrontEnd_Control_Users_LoginThanhVien" %>
<%@ Register Assembly="ValidationTextBox" Namespace="ValidationTextBox.CustomControls"
    TagPrefix="cc1" %>
<%@ Register Assembly="ValidationDropdownlist" Namespace="ValidationDropdownlist.CustomControls"
    TagPrefix="cc2" %>
    <script type="text/javascript">
        $(function () {
            $("#<%= txtUserName.ClientID %>, #<%= txtPassword.ClientID %>").keypress(function (e) {
                if (e.keyCode == 13) {
                    $("#<%=btnLogin.ClientID()%>").click();
                    return false;
                }
            });

            $("#<%= btnLogin.ClientID %>").click(function () {

                if (validateFormInputs('login') == true) {
                    return true;
                } else {
                    return false;
                }
            });

        });
    </script>

<div class="box_conrent_main" style="float:left; width:100%;">
    <div class="bgtitle_conrent_main" style="width:100%" >
        <div class="title_viewsinfo">ĐĂNG NHẬP</div>
    </div>
    <div class="bgmid_conrent_main" style="width:100%;" >

       <table width="100%" border="0" cellspacing="0" cellpadding="0">
                
                <tr>
                    <td class="text_form_login" valign="middle" align="right">
                        Tên đăng nhập:
                    </td>
                    <td valign="middle" align="left" class="text_form_login_2">
                        <cc1:ValidationTextBox ID="txtUserName" CssClass="TextBox" MaxLength="16" runat="server" Group="Login" AssociatedLableText="tên đăng nhập" DataType="required"></cc1:ValidationTextBox>
                        
                            
                    </td>
                </tr>
                <tr>
                    <td class="text_form_login" valign="middle" align="right">
                        Mật khẩu
                    </td>
                    <td valign="middle" align="left" class="text_form_login_2">

                        <cc1:ValidationTextBox ID="txtPassword" CssClass="TextBox" MaxLength="16" runat="server" Group="Login" AssociatedLableText="mật khẩu" TextMode="Password" DataType="required"></cc1:ValidationTextBox>

                    </td>
                </tr>
                <tr>
                    <td class="text_form_login" valign="middle" align="right">
                        &nbsp;
                    </td>
                    <td valign="middle" align="left" class="text_form_login_2">
                        <asp:CheckBox ID="chkRemember" runat="server" Text=" Ghi nhớ đăng nhập" />
                        <span>|</span>
                        <asp:HyperLink ID="hplRemember" Text="Quên mật khẩu!" runat="server"></asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td class="text_form_login_2">
                        <asp:Button ID="btnLogin" CssClass="btn_login" runat="server" Text="Đăng nhập"  />
                        

                    </td>
                </tr>
                
            </table>
        
    </div>
   <div class="bgbottom_conrent_main">
    </div>

</div>